package com.raffles.oa.service;

import java.util.List;

import com.raffles.oa.domain.CompanyElectricCharge;
import com.system.common.Page;

public interface IElectricService {
	
	/**
	 * 分页查询
	 * 租户电费
	 * @return
	 * @throws Exception
	 */
	List<CompanyElectricCharge> queryPageListCompanyElectricCharge(CompanyElectricCharge bean, Page page) throws Exception;
	
	/**
	 * 查询全部
	 * 租户电费
	 * @return
	 * @throws Exception
	 */
	List<CompanyElectricCharge> queryListCompanyElectricCharge(CompanyElectricCharge bean) throws Exception;
	
	/**
	 * 计算电量差异数
	 * 计算公式：(本月用电量-上月用电量)/上月用电量
	 * @param currentElectricConsumption	本月用电量
	 * @param previousElectricConsumption	上月用电量
	 * @return
	 * @throws Exception
	 */
	public String getElectricVarience(String currentElectricConsumption, String previousElectricConsumption) throws Exception;

}
